/**
 * Created by bgy on 2016/12/5.
 * 订单详情
 */
import React from 'react';
import {Link} from 'react-router';

import HeaderTitle from '../../components/common/HeaderTitle';

var CgOrderDetail = React.createClass({
  getInitialState:function(){
    var id = this.props.params.id;
    var title = this.props.params.title;
    return null;
  },
  render() {
    return (
      <div className="full">
        <HeaderTitle title="采购订单详情"/>
        <div className="orderDetail">
          <h2 className="orderTitle">待确认订单</h2>
          <article className="orderContent">
            <div className="orderItem"><label htmlFor="">订单号：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">要货机构名称：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">要货机构代码：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">下单日期：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">订单总金额：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">订单品种数：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">备注：</label><span>asdfadfafasfasdfa</span></div>
            <hr/>
            <div className="orderItem"><label htmlFor="">商品名称（多商品）：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">商品代码（多商品）：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">采购数量：</label><span>asdfadfafasfasdfa</span></div>
            <div className="orderItem"><label htmlFor="">采购金额（多商品）：</label><span>asdfadfafasfasdfa</span></div>
            <div className="showDetail">
              <span className="orderState">采购员：<span>张小美</span></span>
              <a href="tel:15862622085" className="link">15862622085</a>
            </div>
            <button className="button button-pill button-primary btn-green btn-long">确认接受订单</button>
          </article>
        </div>
      </div>
    )
  }
});
export default CgOrderDetail;
